<div class="row">
	<div class="col-md-12">
		<div class="table-header">
			Employee
		</div>
	<div id="dynamic-table_wrapper" class="dataTables_wrapper form-inline no-footer">
		<div class="row">
			
				
				<table id="dynamic-table" class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable" role="grid" aria-describedby="dynamic-table_info">
					<thead>
						<tr role="row">
							<th class="center sorting_disabled" rowspan="1" colspan="1" aria-label="">
								<label class="pos-rel">
									<input type="checkbox" class="ace">
									<span class="lbl"></span>
								</label>
							</th>
							<th class="sorting" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Domain: activate to sort column ascending">Name User Order</th>
							<th class="sorting" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Domain: activate to sort column ascending">Email</th>
							<th class="sorting sort_width" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Domain: activate to sort column ascending">Phone</th>		
							<th class="sorting sort_width" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Price: activate to sort column ascending">Product Name</th>
							
							<th  class="hidden-480 sort_width sorting" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Clicks: activate to sort column ascending">Qty</th>
							
													
							
							<th class="sorting" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Domain: activate to sort column ascending">Price</th>								
							<th class="sorting" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Domain: activate to sort column ascending">Get</th>						
							<th class="sorting_disabled" rowspan="1" colspan="1" aria-label="">Action</th>
						</tr>
				</thead>
				<tbody>	
					<?php 
						foreach ($result->result() as $key => $value) {
					?>

						<tr>
							<td>
								<label class="pos-rel">
									<input type="checkbox" class="ace">
									<span class="lbl"></span>
								</label>
							</td>
							<td><?php echo $value->fullname; ?></td>
							<td><?php echo $value->email; ?></td>
							<td><?php echo $value->mobile; ?></td>
							<td><?php echo $value->bookName; ?></td>
							<td><?php echo $value->qty; ?></td>
							<td><?php echo $value->price; ?></td>
							<td>

							
							<?php 
								if($value->is_get == "1"){
									echo anchor("admin/noreturnOrderBook/jobId_".$value->order_user_id,"Yes",'class="btn btn-success btnNoRaduise"');
								}else{
									echo anchor("admin/returnOrderBook/jobId_".$value->order_user_id,"No",'class="btn btn-danger btnNoRaduise"');
								}
							?>
							
							</td>
							<td>
								<?php echo anchor("admin/viewOrderBook/jobId_".$value->order_user_id,'<i class="glyphicon glyphicon-zoom-in bigger-130 green"></i>'); ?>					
						         <?php echo anchor("admin/deleteOrderBook/".$value->order_user_id,'<i class="ace-icon fa fa-trash-o bigger-130 red"></i>'); ?>
							</td>

						</tr>

					<?php 
						}

					?>
				
				</tbody>						
			</table>
		</div>
			<div class="row">
				<div class="col-xs-6">
					<!-- <div class="dataTables_info" id="dynamic-table_info" role="status" aria-live="polite">
						Showing 1 to 10 of 23 entries
					</div> -->
				</div>
				<div class="col-xs-6">
					
					<?php  echo $links; ?>
				</div>
			</div>
		</div>
			
	</div>
</div>


<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="nameUser" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="nameUser"></h4>
      </div>
      <div class="modal-body" id="viewDetailUser">
         
      </div>
      <!-- <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div> -->
    </div>
  </div>
</div>